<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 基本样式 -->
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/com_third/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />

    <!-- 引入样式 -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->
    <link href="https://cdn.bootcss.com/element-ui/2.4.0/theme-chalk/index.css" rel="stylesheet">

    <!-- 当时项目公共样式 -->
    <link rel="stylesheet" href="src/common.css" />

    <style>
        .excTem {
            color: rgb(64, 158, 255);
        }
        .shuoming {
            display: none;
            color: rgb(96, 98, 102);
            margin-top: 15px;
            margin-left: 10px;
            line-height: 20px;
            width: 95%;
        }
        .shuoming span {
            margin-left: 15px;
        }
        .el-upload__tip {
            line-height: 15px;
        }
    </style>
</head>

<body>
<div id="appInfo" v-loading.fullscreen.lock="fullscreenLoading">
    <div style="margin:0 auto;width: 50%;margin-top: 5%" >
        <el-upload
                class="upload-demo"
                drag
                action="/api/server/downbook/import"
                :on-success="handleSuccess"
                :before-upload="handleBefore"
                :on-error="handleError"
                :multiple="false"
                :show-file-list="false"
                >
            <i class="el-icon-upload"></i>
            <div class="el-upload__text">将文件拖到此处，或<em>点击上传</em></div>
            <div class="el-upload__tip" slot="tip">只能上传excel文件，文件最大支持1M<br/>模板中有样式数据，请删除样式数据<a href="./template/bookIdTemplate.xlsx" class="excTem">模板下载</a></div>
        </el-upload>
    </div>
    <div class="shuoming">
        <div id="error">错误的书号说明</div>
        <div>
            <span v-for="item in error" :key="item">{{item}}</span>
        </div>
        <div id="exist">任务中已存在的书号说明</div>
        <div>
            <span v-for="item in exist" :key="item">{{item}}</span>
        </div>
    </div>
</div>

    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>
    <script src="../src/lib/vue.js"></script>
    <script src="../src/lib/vue-router.js"></script>
    <script src="../boot.js"></script>
    <script src="../page/src/config.js"></script>


    <!-- 引入组件库 -->
    <!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> -->
    <script src="https://cdn.bootcss.com/element-ui/2.4.0/index.js"></script>

    <link href="https://cdn.bootcss.com/layer/3.1.0/theme/default/layer.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/layer/3.1.0/layer.js"></script>



    <script>
        $(function () {
            seajs.use('./08_importBookId.js');
        })
    </script>



</body>

</html>
